import {request} from "@/api/index";
import type {Inter} from "@/api/method";


export  function textTileRequest () {
    return request({method: 'get', url: '/api/platform/login'})
}
export function getList(data:Inter) {
    return request({
        method:'get',
        url:'/frontend/jsArticleGroup/page',
        data:data,
    })
}
export function getLogin(user:any) {
    return request({
        method:'post',
        url:'/platform/login',
        data:user,
        // data:{
        //     username:username,
        //     password:password,
        // }
    })
}
export function VipPower(){
    return request({
        method:'get',
        url:'/frontend/jsMemberBenefits/page',
    })
}
